//===============================================================================
// Microsoft patterns & practices
// Smart Client Software Factory
//===============================================================================
// Copyright (C) Microsoft Corporation.  All rights reserved.
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY
// OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT
// LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
// FITNESS FOR A PARTICULAR PURPOSE.
//===============================================================================
// The example companies, organizations, products, domain names,
// e-mail addresses, logos, people, places, and events depicted
// herein are fictitious.  No association with any real company,
// organization, product, domain name, email address, logo, person,
// places, or events is intended or should be inferred.
//===============================================================================

//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//     Runtime Version:2.0.50727.42
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

// 
// This source code was auto-generated by wsdl, Version=2.0.50727.42.
// 
using System;
using System.CodeDom.Compiler;
using System.ComponentModel;
using System.Diagnostics;
using System.Web.Services;
using System.Web.Services.Description;
using System.Web.Services.Protocols;
using System.Xml.Serialization;

namespace GlobalBankServices
{
    
    /// <remarks/>
    [GeneratedCode("wsdl", "2.0.50727.42")]
    [WebServiceBinding(Name="BasicHttpBinding_IQuoteService", Namespace="http://GlobalBranchServicesServiceContracts/2006/05/IQuoteService/")]
    public interface IBasicHttpBinding_IQuoteService {
        
        /// <remarks/>
        [WebMethod()]
        [SoapDocumentMethod("http://GlobalBranchServicesServiceContracts/2006/05/IQuoteService/GetRate", RequestNamespace="http://GlobalBranchServicesServiceContracts/2006/05/IQuoteService", ResponseNamespace="http://GlobalBranchServicesServiceContracts/2006/05/IQuoteService", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Wrapped)]
        [return: XmlElement("quoteResponse")]
        QuoteResponseType GetRate(QuoteRequestType quoteRequest);
        
        /// <remarks/>
        [WebMethod()]
        [SoapDocumentMethod("http://GlobalBranchServicesServiceContracts/2006/05/IQuoteService/GetRates", RequestNamespace="http://GlobalBranchServicesServiceContracts/2006/05/IQuoteService", ResponseNamespace="http://GlobalBranchServicesServiceContracts/2006/05/IQuoteService", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Wrapped)]
        [return: XmlArray("getRatesResponse")]
        [return: XmlArrayItem("rate", IsNullable=false)]
        RateTableEntryType[] GetRates();
    }
    
    /// <remarks/>
    [GeneratedCode("wsdl", "2.0.50727.42")]
    [Serializable()]
    [DebuggerStepThrough()]
    [DesignerCategory("code")]
    [XmlType(Namespace="http://GlobalBranchServicesServiceContracts/2006/05/IQuoteService")]
    public partial class QuoteRequestType {
        
        private decimal amountField;
        
        private int durationInMonthsField;
        
        /// <remarks/>
        public decimal amount {
            get {
                return this.amountField;
            }
            set {
                this.amountField = value;
            }
        }
        
        /// <remarks/>
        public int durationInMonths {
            get {
                return this.durationInMonthsField;
            }
            set {
                this.durationInMonthsField = value;
            }
        }
    }
    
    /// <remarks/>
    [GeneratedCode("wsdl", "2.0.50727.42")]
    [Serializable()]
    [DebuggerStepThrough()]
    [DesignerCategory("code")]
    [XmlType(Namespace="http://GlobalBranchServicesServiceContracts/2006/05/IQuoteService")]
    public partial class RateTableEntryType {
        
        private decimal rateField;
        
        private decimal maximumAmountField;
        
        private decimal minimumAmountField;
        
        private int startField;
        
        private int endField;
        
        /// <remarks/>
        public decimal rate {
            get {
                return this.rateField;
            }
            set {
                this.rateField = value;
            }
        }
        
        /// <remarks/>
        public decimal maximumAmount {
            get {
                return this.maximumAmountField;
            }
            set {
                this.maximumAmountField = value;
            }
        }
        
        /// <remarks/>
        public decimal minimumAmount {
            get {
                return this.minimumAmountField;
            }
            set {
                this.minimumAmountField = value;
            }
        }
        
        /// <remarks/>
        public int start {
            get {
                return this.startField;
            }
            set {
                this.startField = value;
            }
        }
        
        /// <remarks/>
        public int end {
            get {
                return this.endField;
            }
            set {
                this.endField = value;
            }
        }
    }
    
    /// <remarks/>
    [GeneratedCode("wsdl", "2.0.50727.42")]
    [Serializable()]
    [DebuggerStepThrough()]
    [DesignerCategory("code")]
    [XmlType(Namespace="http://GlobalBranchServicesServiceContracts/2006/05/IQuoteService")]
    public partial class QuoteResponseType {
        
        private decimal rateField;
        
        private decimal amountField;
        
        private int durationInMonthsField;
        
        /// <remarks/>
        public decimal rate {
            get {
                return this.rateField;
            }
            set {
                this.rateField = value;
            }
        }
        
        /// <remarks/>
        public decimal amount {
            get {
                return this.amountField;
            }
            set {
                this.amountField = value;
            }
        }
        
        /// <remarks/>
        public int durationInMonths {
            get {
                return this.durationInMonthsField;
            }
            set {
                this.durationInMonthsField = value;
            }
        }
    }
}
